package com.tms.springboot.service.impl;

import com.tms.springboot.aggregation.pojo.PdTruck;
import com.tms.springboot.mapper.PdTruckMapper;
import com.tms.springboot.service.PdTruckService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车辆信息表 服务实现类
 * </p>
 *
 * @author cjj
 * @since 2023-06-14
 */
@Service
public class PdTruckServiceImpl extends ServiceImpl<PdTruckMapper, PdTruck> implements PdTruckService {
    @Autowired
    private PdTruckMapper truckMapper;

    @Override
    public List<Map<String, Object>> queryTripsDriverTruckByTransportLineId(String transportLineId) {
        return truckMapper.queryTripsDriverTruckByTransportLineId(transportLineId);
    }
}
